package io.renren.modules.medical.service;


import com.baomidou.mybatisplus.extension.service.IService;
import io.renren.common.utils.PageUtils;
import io.renren.modules.medical.entity.IllSubEntity;
import io.renren.modules.medical.vo.medicalVo.IllSubAndChildrenVo;
import io.renren.modules.medical.vo.medicalVo.IllSubTitleAndIdVo;

import java.util.List;
import java.util.Map;

/**
 * @author luosheng
 * @date 2023-04-01 10:41:37
 */
public interface IllSubService extends IService<IllSubEntity> {

    List<IllSubAndChildrenVo> listWithTree();

    void updateIllsub(IllSubEntity illSub);

    void saveIllsub(IllSubEntity illSub);

    List<IllSubTitleAndIdVo> getOneLevelList();

    PageUtils queryDoctorPage(Map<String, Object> params);

    List<IllSubEntity> getChildren(Long parentId);


    List<IllSubTitleAndIdVo> getBasicTwoList();

    List<IllSubTitleAndIdVo> getTwoList();

    List<Long> getChildrenAndParent(Long parentId);

}

